package com.sc.dal.model.cart;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

import com.sc.dal.model.goods.GoodsSku;

public class CartItem implements Serializable{
	private static final long serialVersionUID = -5516340643529904876L;

	private String id;
	
	private String sellerId;

    private String memberId;

    private Integer productId;

    private String selected;

    private Integer quantity;
    
    //购物车商品加入人
    private String creater;
    
    //购物车商品修改人
    private String modifier;

    //商品是否有效
    private String isValid;
    
    //是否被删除
    private String isDelete;

	//货品名称
    private String productName;
    
    //成本价
    private String costPrice;
    
    //市场价格
    private BigDecimal marketPrice;
    
    //在代理等级打折后的市场价格
    private BigDecimal discountMarketPrice;
    
    //在代理等级折扣率 
    private double discountRate;  
    
    private String goods_sku_id;
    
    private String goods_sku_info;
    
    //服务器图片存放路径
    private String picture;

	private String stock; //商品剩余库存
    
    private List<GoodsSku> goodsSkuList; //该商品的规格信息列表

    
    public CartItem(){
    	
    }
    public CartItem(String memberId){
    	this.memberId = memberId;
    }
    
	public String getSellerId() {
		return sellerId;
	}

	public void setSellerId(String sellerId) {
		this.sellerId = sellerId;
	}
	public String getStock() {
		return stock;
	}

	public void setStock(String stock) {
		this.stock = stock;
	}

	public List<GoodsSku> getGoodsSkuList() {
		return goodsSkuList;
	}

	public void setGoodsSkuList(List<GoodsSku> goodsSkuList) {
		this.goodsSkuList = goodsSkuList;
	}

	public String getPicture() {
		return picture;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}

	public String getCostPrice() {
		return costPrice;
	}

	public void setCostPrice(String costPrice) {
		this.costPrice = costPrice;
	}

	public String getGoods_sku_id() {
		return goods_sku_id;
	}

	public void setGoods_sku_id(String goods_sku_id) {
		this.goods_sku_id = goods_sku_id;
	}

	public String getGoods_sku_info() {
		return goods_sku_info;
	}

	public void setGoods_sku_info(String goods_sku_info) {
		this.goods_sku_info = goods_sku_info;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getMemberId() {
		return memberId;
	}

	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	public Integer getProductId() {
		return productId;
	}

	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	public String getSelected() {
		return selected;
	}

	public void setSelected(String selected) {
		this.selected = selected;
	}

	public Integer getQuantity() {
		return quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	public String getCreater() {
		return creater;
	}

	public void setCreater(String creater) {
		this.creater = creater;
	}

	public String getModifier() {
		return modifier;
	}

	public void setModifier(String modifier) {
		this.modifier = modifier;
	}

	public String getIsValid() {
		return isValid;
	}

	public void setIsValid(String isValid) {
		this.isValid = isValid;
	}

	public String getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(String isDelete) {
		this.isDelete = isDelete;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}


	public BigDecimal getMarketPrice() {
		return marketPrice;
	}

	public void setMarketPrice(BigDecimal marketPrice) {
		this.marketPrice = marketPrice;
	}

	public BigDecimal getDiscountMarketPrice() {
		return discountMarketPrice;
	}

	public void setDiscountMarketPrice(BigDecimal discountMarketPrice) {
		this.discountMarketPrice = discountMarketPrice;
	}

	public double getDiscountRate() {
		return discountRate;
	}

	public void setDiscountRate(double discountRate) {
		this.discountRate = discountRate;
	}
    
	
}